package com.burgeon.backend.SHOPBACKEND.mappers;

import com.burgeon.backend.SHOPBACKEND.entity.Classification;
import com.burgeon.backend.SHOPBACKEND.entity.FAB.FabEntity;
import com.burgeon.backend.SHOPBACKEND.entity.Goods;
import com.burgeon.backend.SHOPBACKEND.entity.OrderVO.OrderEntity;
import com.burgeon.backend.SHOPBACKEND.entity.Seckill;
import com.burgeon.backend.entity.CouponType;
import com.burgeon.backend.entity.User;

import java.util.List;

public interface BackendFindDataMapper {

    List<Seckill> findSeckillData(String field, String message, String account);

    List<Classification> findGoodsCache(String field, String message, String account);


    List<FabEntity> findFABData(int start,String field,String message, String account);

    Integer findFABDataCount(String field,String message, String account);

    Integer findOrderDataByDateCount(String account, String createTime, String endTime,
                                          int start,String field);

    OrderEntity findOrderItemDataOnly(String id);

    List<OrderEntity> findOrderDataByDate(String account, String createTime, String endTime,
                                          int start,String field,String state);


    List<OrderEntity> findOrderData(String account, String state, String field, String message, int start);
    Integer findOrderDataCount(String account, String state, String field, String message);



    List<User> findVipData(int start,String field,String message, String account);
    Integer findVipDataCount(String field,String message, String account);


    List<Goods> findGoodsData(int start,String field,String message, String account);

    Integer findGoodsDataCount(String field,String message, String account);

    List<CouponType> findCouponData(String field,String message,String account);


}
